package com.downbox.dto;

import lombok.Data;
import java.util.List;

/**
 * 分页响应类
 */
@Data
public class PageResp<T> {
    private int page;
    private int size;
    private long total;
    private List<T> items;

    public PageResp(int page, int size, long total, List<T> items) {
        this.page = page;
        this.size = size;
        this.total = total;
        this.items = items;
    }
}